Skip to content

/cheap: stop resending descriptions of skills you never use - #25

Merged
Darknode-Official merged 1 commit into
mainfrom
feat/cheap-skill-trim
Nov 11, 2026
Merged

Darknode-Official merged 1 commit into
mainfrom
feat/cheap-skill-trim

Conversation

@Darknode-Official

Copy link
Copy Markdown
Owner

Every skill's long description is sent in every session, used or not. With /cheap on, skills unused for 30 days are listed by name only, via a per-launch skillOverrides.

  • Skills stay listed and invocable. A name-only skill was invoked successfully on a real run.
  • Used skills, project skills and claude-api keep their descriptions.
  • Nothing is trimmed until a usage scan has finished. The scan runs at most daily, about 3s on 2.6 GB, with 6ms of event-loop lag.
  • Real before and after on Haiku in this setup: 38,850 to 35,174 prompt tokens, with the same 44 skills and 169 tools.
  • Resuming with or without the override keeps the cache.

Tests: HOME=/tmp/nxhome-full npm test.

Every skill's long description is sent in every session, used or not.
With /cheap on, skills unused for 30 days are listed by name only through
a per-launch skillOverrides, so they stay available and the user's own
settings are untouched. Used, project and claude-api skills keep their
descriptions, and nothing is trimmed until a usage scan has finished.
@Darknode-Official
Darknode-Official merged commit a493921 into main Nov 11, 2026
6 checks passed
@Darknode-Official
Darknode-Official deleted the feat/cheap-skill-trim branch November 11, 2026 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant